
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <!--<title>Bootstrap 101 Template</title>-->

    <!-- Bootstrap -->
    <link href="../../css/bootstrap.min.css" rel="stylesheet">
    <style>
        #compare_scopeline {
        }
    </style>
</head>
<body>

    <div class="container" style="margin-top: 1%; width: 90%; height: 100%;margin-bottom: 2%;">

        <div class="row">
            <strong class="text-primary h2" style="color: #0fd8e1">Scopebaseline实例</strong>
        </div>
        <br>
        <div class="row">

            <div id="init_scopeline_inst" class="col-md-3 col-md-offset-7">
                <a href="#/init_scopeline" class="btn btn-info">
                    <span class="glyphicon glyphicon-retweet"></span>&nbsp; 初始化scopeline实例
                </a>
            </div>
            <div id="compare_scopeline" class="col-md-2">
                <a href="#/compare_scopeline" class="btn btn-info">
                    <span class="glyphicon glyphicon-random"></span>&nbsp; 对比scopeline实例
                </a>
            </div>
        </div>
        <div class="row">
            <br>
            <br>
            <br>
        </div>
        <div class="row">
            <div class="col-md-2 text-right">
                <span id="scopeline_inst_env_selector" class="glyphicon glyphicon-alert text-center">请选择环境:</span>
            </div>
            <div class="col-md-3">
                <select class="form-control" ng-model="selected_env_name" style="cursor: pointer">
                    <option ng-repeat="env in envs">{{env.Name}}</option>
                </select>
            </div>
        </div>
        <div class="row">
            <br>
            <br>
            <br>
        </div>

        <div class="row" ng-show="firstItemView">
            <div class="row">
                <div class="col-md-2">
                    <content>{{firstItem.Version}}</content>
                </div>
                <div class="col-md-1 col-md-offset-7">
                    <a href="#/scopeline_inst_details/{{firstItem.ScopelineID}}" class="btn btn-info">
                        <span class="glyphicon glyphicon-info-sign"></span>&nbsp;详情
                    </a>
                </div>
                <div class="col-md-1">
                    <a href="" class="btn btn-info">
                        <span class="glyphicon glyphicon-edit">&nbsp;编辑</span>
                    </a>
                </div>
                <div class="col-md-1">
                    <a href="" class="btn btn-warning">
                        <span class="glyphicon  glyphicon-level-up"></span>&nbsp;步进
                    </a>
                </div>
            </div>

            <div class="row">
                <div class="col-md-12">
                    <div name="dive" style="border: 1px #0fd8e1 solid; margin-top: 3px;margin-bottom: 35px;"></div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                     <strong>创建时间:</strong>
                     <content>{{firstItem.CreatedDateTime}}</content>
                </div>
                <div class="col-md-4">
                    <strong>名称:</strong>
                    <content>{{firstItem.Name}}</content>
                </div>
                <div class="col-md-4">
                    <strong>创建人:</strong>
                    <content>{{firstItem.CreatorUserName}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>上次修改时间:</strong>
                    <content>{{firstItem.LastModifiedDateTime}}</content>
                </div>
                <div class="col-md-4">
                    <strong>上次修改人:</strong>
                    <content>{{firstItem.LastModifier.LastName + firstItem.LastModifier.FirstName}}</content>
                </div>
                <div class="col-md-4">
                    <strong>所属DB migration的commitUID:</strong>
                    <content>{{firstItem.DBMigration.GitCommitUID}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>关联的实施计划:</strong>
                    <content>{{}}</content>
                </div>
                <div class="col-md-4">
                    <strong>聚仪人员:</strong>
                    <ui ng-repeat="person in firstItem.MeetMember">
                        <content>{{person.FirstName+person.LastName}},</content>
                    </ui>
                </div>

                <div class="col-md-4">
                    <strong>风险评估:</strong>
                    <content>{{firstItem.RiskAssessmentOfMeeting}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>关联的urtracker事务:</strong>

                    <ui ng-repeat="urtracker_link in firstItem.UrtrackerLinks">
                        <a href="{{urtracker_link}}">{{urtracker_link}}</a>
                    </ui>

                </div>
                <div class="col-md-4">
                    <strong>CIMaturity:</strong>
                    <content>{{firstItem.CIMaturity}}</content>
                </div>

            </div>
            <br>
            <div class="row" style="margin-bottom: 100px;">
                <div class="col-md-2"><strong>scopeline的描述信息:</strong></div>
                <div class="col-md-8">
                    <textarea class="form-control" ng-model="firstItem.Description" style="width: 90%;height: 70%;" disabled>
                    </textarea>
                </div>
            </div>
        </div>

        <div class="row" ng-repeat="scopeline in scopeline_list">
            <div class="row">
                <div class="col-md-2">
                    <content>{{scopeline.Version}}</content>
                </div>
                <div class="col-md-1 col-md-offset-7">
                    <a href="#/scopeline_inst_details/{{scopeline.ScopelineID}}" class="btn btn-info">
                        <span class="glyphicon glyphicon-info-sign"></span>&nbsp;详情
                    </a>
                </div>

            </div>

            <div class="row">
                <div class="col-md-12">
                    <div name="dive" style="border: 1px #0fd8e1 solid; margin-top: 3px;margin-bottom: 35px;"></div>
                </div>
            </div>
            <div class="row">
                <div class="col-md-4">
                    <strong>创建时间:</strong>
                    <content>{{scopeline.CreatedDateTime}}</content>
                </div>
                <div class="col-md-4">
                    <strong>名称:</strong>
                    <content>{{scopeline.Name}}</content>
                </div>
                <div class="col-md-4">
                    <strong>创建人:</strong>
                    <content>{{scopeline.CreatorUserName}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>上次修改时间:</strong>
                    <content>{{scopeline.LastModifiedDateTime}}</content>
                </div>
                <div class="col-md-4">
                    <strong>上次修改人:</strong>
                    <content>{{scopeline.LastModifier.LastName + scopeline.LastModifier.FirstName}}</content>
                </div>
                <div class="col-md-4">
                    <strong>所属DB migration的commitUID:</strong>
                    <content>{{scopeline.DBMigration.GitCommitUID}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>关联的实施计划:</strong>
                    <content>{{}}</content>
                </div>
                <div class="col-md-4">
                    <strong>聚仪人员:</strong>
                    <ui ng-repeat="person in scopeline.MeetMember">
                        <content>{{person.FirstName+person.LastName}},</content>
                    </ui>
                </div>

                <div class="col-md-4">
                    <strong>风险评估:</strong>
                    <content>{{scopeline.RiskAssessmentOfMeeting}}</content>
                </div>
            </div>
            <br>
            <div class="row">
                <div class="col-md-4">
                    <strong>关联的urtracker事务:</strong>

                    <ui ng-repeat="urtracker_link in scopeline.UrtrackerLinks">
                        <a href="{{urtracker_link}}">{{urtracker_link}}</a>
                    </ui>

                </div>
                <div class="col-md-4">
                    <strong>CIMaturity:</strong>
                    <content>{{scopeline.CIMaturity}}</content>
                </div>

            </div>
            <br>
            <div class="row" style="margin-bottom: 100px;">
                <div class="col-md-2"><strong>scopeline的描述信息:</strong></div>
                <div class="col-md-8">
                    <textarea class="form-control" ng-model="scopeline.Description" style="width: 90%;height: 70%;" disabled>
                    </textarea>
                </div>
            </div>
        </div>

        <div class="text-center">
            <uib-pagination first-text="首页" last-text="尾页" next-text="下一页" previous-text="上一页" total-items="totalItems" items-per-page="itemsPerPage" ng-model="currentPage" max-size="maxSize" class="pagination-sm" boundary-links="true" force-ellipses="true">
            </uib-pagination>
        </div>

    </div>

</body>
</html>


